using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 订单实体扩展
    /// </summary>
    public partial class corecmsfoodordering
    {
        /// <summary>
        /// 餐套分组Id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public Int64 packGroupId { get; set; }

        /// <summary>
        /// 餐套分组名字
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string packGroupName { get; set; }

        /// <summary>
        /// 是否可选择相同商品
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool isSelectSame { get; set; } = false;

        /// <summary>
        /// 套餐组数量限制
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public decimal packGroupQuantity { get; set; }

        /// <summary>
        /// 套餐内商品数量限制
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public decimal packDetailQuantity { get; set; }

        /// <summary>
        /// 可退菜数量 
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public decimal canRefundQty { get; set; }

        /// <summary>
        /// 销售类型标题
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string dataTypeTitle { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string foodImage { get; set; }

        /// <summary>
        /// 0不称重，1称重菜
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public Int32? weighType { get; set; }

        /// <summary>
        /// 下单员名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string billerName { get; set; }

        /// <summary>
        /// 桌台编号
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public String deskName { get; set; }


        /// <summary>
        /// 加料列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<corecmsfoodorderingfeed> feedList { get; set; }


        /// <summary>
        /// 口味列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<corecmsfoodorderingtask> taskList { get; set; }

        /// <summary>
        /// 备注列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<corecmsfoodorderingtag> tagList { get; set; }

        /// <summary>
        /// 是否有配菜
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean hasGroup { get; set; }

    }
}
